<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../js/vue.min.js" ></script>
	</head>
	<body>
		<div id="app">
			<!--v-for:实现了数据的双向绑定-->
			<p v-for="(item,i) in list">索引值：{{i}},每一项：{{item}}</p>
		</div>
	</body>
	<script>
		var vm=new Vue({
			el:"#app",
			data:{
				list:[1,2,3,4,5,6]
			},
			methods:{
				
			}
		});
	</script>
</html>